/**
 * 定义系统常量
 * @author 董一华
 * @since 1.00
 * @version 1.00 
 * 
 * 修订列表： v1.00 2009-10-24 
 * 			修订人：董一华 
 * 			修订内容：初始版本 
 */

package com.zjht.gmcc.bean.util;

public interface MyConstant {
	public static final int JDBC_BATCH_SIZE = 500;// JDBC批量提交最大数量

	public static final String CTMS = "浙江移动ZSMS";
	public static final String CTMS_ROOT = "http://10.243.183.102/";
	public static final String CTMS_MAIL = "dwgdctms@gd.chinamobile.com";

	public static final String CTMS_ADMIN[] = { "ADMIN" };

	public static final int AREAID_GMCC = 0; // 广东省areaid
	public static final String AREACODE_GD = "GD"; // 广东省areacode
	public static final int AREA_MAX = 22; // 广东省地市数量+1
	public static final int PAGESIZE = 50; // 每页记录条数
	public static final int PAGESIZE_MAX = 300;// 每面最大显示记录条数

	public static final String ZD_NAME = "浙江移动终端公司";
	public static final String ZD = "ZD";// 终端公司组织编码
	public static final int ZD_ID = 50;// 终端公司组织ID

	public static final int INT_NULL = -1;// 当字符串等对象转化为整型数字时，出现异常时的整型数值
	public static final double DOUBLE_NULL = 0.0;// 当字符串等对象转化为double数字时，出现异常时的double数值
	public static final String SELECT_FIRST_VALUE = "-1";// 下拉框控件首个option的缺省value为-1
	public static final String SELECT_NO_FIRST_OPTION = "-999";// 下拉框控件无默认首个option(即没有"全部"或"请选择")
	public static final String SELECT_FIRST_OPTION_NO = "-999";// 下拉框控件无默认首个option(即没有"全部"或"请选择")
	public static final String SELECT_FIRST_OPTION_YES_OR_NO_ALL = "-998";// 下拉框控件首个option：当map值只有一个时，则不显示"全部"或"请选择"；如果map值为空或超过1个时，则显示"全部"
	public static final String SELECT_FIRST_OPTION_YES_OR_NO_SELECT = "-997";// 下拉框控件首个option：当map值只有一个时，则不显示"全部"或"请选择"；如果map值为空或超过1个时，则显示"请选择"
	public static final int IMEISEG_LENGTH = 6;// IMEI段长度

	public static final int TASK_FIRSTLISTCOUNT = 5;// 首页消息条数

	public static final String TRUE = "1";// 是
	public static final String FALSE = "0";// 否

	// 终端制式ProductSystem
	public static final String PRODUCTSYSTEM_2G = "2";// 2G
	public static final String PRODUCTSYSTEM_3G = "3";// 3G

	// 组织类型OrgType
	public static final int ORGTYPE_PROVMOBILE = 1;// 省移动
	public static final int ORGTYPE_CITYMOBILE = 2;// 市移动
	public static final int ORGTYPE_COUNTYMOBILE = 3;// 区/县移动
	public static final int ORGTYPE_HALL = 4;// 服务厅
	public static final int ORGTYPE_PROVPROVIDER = 5;// 省平台
	public static final int ORGTYPE_CITYPROVIDER = 6;// 市平台
	public static final int ORGTYPE_VENDOR = 7;// 厂家

	// 渠道类型
	public static final String CHANNEL_GMCC = "01";// 自有渠道
	public static final String CHANNEL_RGS = "02";// 入柜商渠道
	public static final String CHANNEL_SOCIAL_PROV = "03";// 省级社会渠道
	public static final String CHANNEL_SOCIAL_CITY = "04";// 市级社会渠道
	public static final String CHANNEL_E_GMCC = "05";// 自有电子渠道
	public static final String CHANNEL_E_SOCIAL = "06";// 合作电子渠道
	public static final String CHANNEL_FD = "07";// FD集采渠道
	public static final String CHANNEL_RD = "08";// RD渠道
	public static final String CHANNEL_GMCC_RGS = "50";// 自有渠道+入柜商

	// 市级社会渠道平台编码(此编码仅用于操作BOSS_Depot表的ProviderCode)
	// 下标为areaid，如：SOCIAL_CITY_PROVIDER[1]为广州市级社会渠道的市仓编码。
	// SOCIAL_CITY_PROVIDER[0]为省仓编码
	public static final String SOCIAL_CITY_PROVIDER[] = { "SC", "SCGZ", "SCSZ", "SCDG", "SCFS", "SCST", "SCZH", "SCHZ", "SCZS", "SCJM", "SCSG",
			"SCHY", "SCMZ", "SCSW", "SCYJ", "SCZJ", "SCMM", "SCZQ", "SCQY", "SCCZ", "SCJY", "SCYF" };

	// RD渠道传给BOSS的编码：dyh20110921
	public static final String RD_CITY_PROVIDER[] = { "RD", "RDGZ", "RDSZ", "RDDG", "RDFS", "RDST", "RDZH", "RDHZ", "RDZS", "RDJM", "RDSG", "RDHY",
			"RDMZ", "RDSW", "RDYJ", "RDZJ", "RDMM", "RDZQ", "RDQY", "RDCZ", "RDJY", "RDYF" };

	// 参数表主参数
	public static final String PARA_BRAND = "1"; // 品牌
	public static final String PARA_PROTYPE = "2"; // 产品类别
	public static final String PARA_ARAE = "3"; // 区域表
	public static final String PARA_PROVIDETYPE = "4"; // 企业性质
	public static final String PARA_PROVIDESSLB = "5"; // 企业性质
	public static final String PARA_ORDERTYPE = "6";// 采购类型
	public static final String PARA_SCORE = "7";// 考核结果
	public static final String PARA_OPINION_ABNORMAL = "8";// 考核异常

	// E_REQ表的reqtype字段:自有电子渠道补货申请种类
	public static final String E_REQ_REQTYPE_PROV_CITY = "1";// 全省统一操盘（市移动申请）
	public static final String E_REQ_REQTYPE_CITY_CITY = "2";// 市移动独立操盘
	public static final String E_REQ_REQTYPE_PROV_GMCC = "3";// 保留：全省统一操盘（省移动申请）

	public static final String SMS_UP = "提升";
	public static final String SMS_DOWN = "下降";

	// 产品管理(Parameter表paraid)
	public static final int PARA_CUSTOMIZETYPE = 150;// 定制类型
	public static final int PARA_NEWBIZ = 71;// 新业务
	public static final int PARA_MARKETPRICE = 5;// 市场销售价
	public static final int PARA_CHOICE = 900;// 选型开关

	// 添加服务厅所用常量
	public static final String SYS_ORGA_HALLTIME = ",2,6,12,24,48,72,";
	public static final String SYS_ORGA_HALLTYPE = ",市区一类,市区二类,市区三类,乡镇一类,乡镇二类,乡镇三类,校园品牌店,";

	// 添加组织和用户时默认的初始密码
	public static final String INIT_PWD = MyCode.MD5("888888");

	// 地市类型
	public static final int CITY_FIRST = 1;// 一类地市
	public static final int CITY_SECOND = 2;// 二类地市
	public static final int CITY_THIRD = 3;// 三类地市

	// 省仓补货状态(0-新增,1-省移动已审批,2-供货方已确认,3-需求方撤单,4-供货方撤单,5-省移动审批退回,7-发货完成,8-补货完成,9-超过N天CTMS自动撤单)

	public static final String AREATYPE_PROV = "0";// 省
	public static final String AREATYPE_ZONE = "1";// 区域
	public static final String AREATYPE_CITY = "2";// 地市

}
